package org.lab.config;

import java.io.IOException;
import java.io.InputStream;

import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;

public class Properties {

	protected Properties userProperties() {
		try {
			Resource resource = new ClassPathResource("/data/opentick/opentick.properties");
			InputStream in;
			in = resource.getInputStream();
			Properties userProperties = new Properties();
//			userProperties.load(in);
			in.close();
			return userProperties;
		} catch (IOException e) {
			e.printStackTrace();
			throw new AssertionError("failed to read datbase property file: " + e);
		}
	}
}
